import ajaxFunc from "./axios"

//商品详情
export function cartListApi() {
    return ajaxFunc({
        url: '/cart/list',
    })
}

//更新购物车
export function cartsaveApi(data) {
    return ajaxFunc({
        url: '/cart/save',
        method: 'POST',
        data
    })
}